@foreach($lists as $list)
    <div class="lists">
        <div class="flex cardpic">
            @foreach($list->template as $l)
                <div class="flex pics"><span><img src="{{asset('css/upload')}}{{$l->effect_src}}" /></span></div>
            @endforeach
        </div>
        <h2 class="flex"><span class="flexitemv">{{$list->card_name}}</span><em>&yen;{{$list->price}}/500张</em></h2>
        <a href="" class="flex center buyit">立即定制</a>
    </div>
@endforeach